package com.maimao.model.goods.dto;

/**
 * 评价聚合dto
 * @author MaoLin Wang
 * @date 2021/1/30 10:42 上午
 */
public class CommentAggDto {

    /**
     * 评价类型 1 好 2 中 3差 0回复类型
     */
    private Integer id;

    /**
     * 对应类型的数量
     */
    private Integer count;

    @Override
    public String toString() {
        return "CommentAggDto{" +
                "id=" + id +
                ", count=" + count +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public Integer getCount() {
        return count==null?0:count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
